//
//  ZLPersonModel.h
//  谓词的使用
//
//  Created by unisedu on 16/1/11.
//  Copyright © 2016年 CaoFei. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger, ZLPersonSex) {
    ZLPersonSexMale = 0,
    ZLPersonSexFamale
};


@interface ZLPersonModel : NSObject

/** NSString 姓名 */
@property (nonatomic, copy) NSString * name;
/** NSUInteger 年龄 */
@property (nonatomic, assign) NSUInteger age;
/** ZLPersonSex 性别 */
@property (nonatomic, assign) ZLPersonSex sex;

+ (instancetype)personWithName:(NSString *)name age:(NSUInteger)age sex:(ZLPersonSex)sex;


@end
